﻿using System;
using System.Web.Mvc;
using CRM.Models;
using DevExpress.Web.Mvc;

namespace CRM.Controllers
{
    public class GetEquipmentController : Controller
    {
        //
        // GET: /GetEquipment/

        public ActionResult Index()
        {
            return View();
        }

        //public ActionResult GetEquipment()
        //{
        //    return PartialView(DB.EquipmentsActive);
        //}


        //[HttpPost]
        //public ActionResult GetEquipment([ModelBinder(typeof(DevExpressEditorsBinder))] Equipments newEquipment)
        //{
        //    return PartialView(DB.EquipmentsActive);
        //}


        public ActionResult GetEquipEditCallBack()
        {
            throw new NotImplementedException();
           // return PartialView("EquipmentList", DB.EquipmentsActive);
        }


        public ActionResult GetEquipmentList()
        {
            throw new NotImplementedException();
           // return PartialView("EquipmentList", DB.EquipmentsActive);
        }

        
        [HttpPost]
        public ActionResult SelectEquipment()
        {
            throw new NotImplementedException();
           // return PartialView("EquipmentList", DB.EquipmentsActive);
        }


        public ActionResult CallbackPanelPartial ()
      {
          throw new NotImplementedException();
         //    string additionalParams = Request.Params["additionalParameters"];
         ////    <get the current Model according to your additional parameters>
         //    return PartialView ("EquipmentDropdown",DB.EquipmentsActive);
       }
    }
}
